﻿using SharpArch.Core.DomainModel;
using SharpArch.Core.PersistenceSupport;
using NHibernate.Validator.Constraints;
using SharpArch.Core;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Collections.Generic;

namespace zeus.Core
{
    public class Comando : Entity
    {


        [Required(ErrorMessage = "Ingrese  unidad")]
        [DisplayName("unidad")]
        public virtual int CodigoUnidad { get; set; }

        [Required(ErrorMessage = "Ingrese  CodigoEvento")]
        [DisplayName("CodigoEvento")]
        public virtual int CodigoEvento { get; set; }
        
        [Required(ErrorMessage = "Ingrese  Nombre")]
        [DisplayName("Nombre")]
        public virtual string Parametro { get; set; }

       

       






        

    }
}
